package ShareYourWay.Mapped;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import ShareYourWay.project.Meetup;
import ShareYourWay.project.University;
import ShareYourWay.project.Usermeetup;

public class MappedUser implements Serializable {
	
	
	private Integer id;
	private University university;
	private String name;
	private String surname;
	private String password;
	private String nick;
	private boolean car;
	private String phone;
	private String mail;
	private String city;
	private Boolean banned;
	private String sex;
	private Integer score;
	
	
	public MappedUser()  {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public MappedUser(Integer id, University university, String name,
			String surname, String password, String nick, boolean car,
			String phone, String mail, String city, Boolean banned, String sex,
			Integer score) {
		super();
		this.id = id;
		this.university = university;
		this.name = name;
		this.surname = surname;
		this.password = password;
		this.nick = nick;
		this.car = car;
		this.phone = phone;
		this.mail = mail;
		this.city = city;
		this.banned = banned;
		this.sex = sex;
		this.score = score;
		
	//	{"name":"Jorge24","surname":"Mahecha24","password":"abcd1234","nick":"Jorge24","car":false,"phone":"123456789","mail":"jorge.jlmd24@gmail24.com","city":"Mataro","sex":"H"}
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public University getUniversity() {
		return university;
	}
	public void setUniversity(University university) {
		this.university = university;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public boolean isCar() {
		return car;
	}
	public void setCar(boolean car) {
		this.car = car;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public Boolean getBanned() {
		return banned;
	}
	public void setBanned(Boolean banned) {
		this.banned = banned;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}	
	

}
